using System;
using System.Collections.Generic;
using System.Text;

namespace TidhiGanitam.DataModel
{
    public class VaramTidhiItem
    {
        private Varam cVaramItem;
        private Tidhi cTidhiItem;
        public VaramTidhiItem()
        {
            cVaramItem = new Varam();
            cTidhiItem = new Tidhi();
        }
        public VaramTidhiItem(Varam varamitem, Tidhi tidhiitem)
        {
            //Set Varamitem
           cVaramItem = new Varam(varamitem.Vaaram, varamitem.Ghadiyalu,
                                  varamitem.Vighadiyalu);

            //set TidhiIem
            cTidhiItem = new Tidhi(tidhiitem.Tidhulu, tidhiitem.Ghadiyalu,
                                  tidhiitem.Vighadiyalu,tidhiitem.Paralu);
        }

        public Varam VaramItem
        {
            get
            {
                return cVaramItem;
            }
            set
            {
                cVaramItem = value;
            }
        }
        public Tidhi TidhiItem
        {
            get
            {
                return cTidhiItem;
            }
            set
            {
                cTidhiItem = value;
            }
        }

    }
}
